<!--漂浮-->
<div class="myFloat">
    <ul>
        @foreach($adv as $val)
            <li class="num1">
                @if($val['url'])
                    <a title="{{$val['title']}}"  href="{{$val['url']}}" tabindex="-1">
                        <img src="/uploads/{{$val['image']}}"  width="240"   height="136"  border="0" alt="{{$val['title']}}">
                        <span class="img_title img-title">{{$val['title']}}</span>
                    </a>
                @else
                    <a title="{{$val['title']}}"  href="javascript:void(0)" style="cursor: default;"  tabindex="-1">
                        <img src="/uploads/{{$val['image']}}"  width="240"   height="136"  border="0" alt="{{$val['title']}}">
                        <span class="img_title img-title">{{$val['title']}}</span>
                    </a>
                @endif
            </li>
        @endforeach
    </ul>
    <div class="float-close"><img src="/images/closer.gif"></div>
</div>
<!--漂浮-->
<div class="home_web">
    <ul>
        <li class="web_position nav_02">
            <a class="web_link" title="政务微信">政务微信</a>
            <div class="web_area weixin">
                <ul>
                    <li class="num1"><a title="微信"  href="javascript:void(0)" style="cursor: default;"  tabindex="-1"> <img src="/uploads/{{config('base.weixin')}}"  width="100"   height="100"  border="0" alt="微信">   </a> </li>
                </ul>
            </div>
        </li>
        <li class="web_position nav_03">
            <a class="web_link" title="政务微博" href="{{config('base.weibo')}}" target="_blank">政务微博</a>
        </li>
    </ul>
</div>
<script type="text/javascript">
    $(".web_position").hover(
        function() {
            $(this).children('.web_area').attr('style', 'display:block');
            $(this).children('.web_link').addClass("active");
        },
        function() {
            $(this).children('.web_area').hide();
            $(this).children('.web_link').removeClass("active");
        }
    );
</script>
<!--悬浮 end-->